﻿@model IEnumerable<Scrumrun.Models.Sprint>


<table class="srtable">

    <tr>

        <th></th>
        <th>Title
@*@Html.DisplayNameFor(model => model.Name)*@
        </th>
        <th>
            @Html.DisplayNameFor(model => model.StartDate)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.EndDate)
        </th>

    </tr>

    <tbody>

        @foreach (var item in Model)
        {
            <tr data-id="@item.SprintId">
                <td>
                    @Html.ActionLink("Delete", "Delete", new { id = item.SprintId })

                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.Name)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.StartDate)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.EndDate)
                </td>
            </tr>
        }
    </tbody>

</table>
